<#assign ctx=springMacroRequestContext.contextPath />
<#include "/macro/publicMacro.ftl">
<#import "/macro/pagination.ftl" as Pagination>

<@header title="部门简介">
    <link href="<${ctx}/resource/common/css/pagination.css" rel="stylesheet">
    <script src="<${ctx}/resource/common/js/pagination.js"></script>
</@header>

<@body>
<h2 class="module-title">部门详情</h2>

<div class="alert alert-primary" role="alert">
    <button class="btn btn-info" onclick="javascript: history.back(-1);return false;" >返回</button>
</div>

<div class="table-responsive">
    <table class="table">
        <thead>
            <th width="100">名称</th>
            <th>值</th>
        </thead>
        <tbody>
            <tr>
                <td class="alert alert-info" align="center" align="center">主键</td>
                <td>${imDepartment.id!}</td>
            </tr>
            <tr>
                <td class="alert alert-info" align="center" align="center">部门名称</td>
                <td>${imDepartment.name!}</td>
            </tr>
            <tr>
                <td class="alert alert-info" align="center" align="center">部门编码</td>
                <td>${imDepartment.code!}</td>
            </tr>
            <tr>
                <td class="alert alert-info" align="center" align="center">上级部门id</td>
                <td>${imDepartment.parentId!}</td>
            </tr>
            <tr>
                <td class="alert alert-info" align="center" align="center"></td>
                <td>${imDepartment.description!}</td>
            </tr>
            <tr>
                <td class="alert alert-info" align="center" align="center"></td>
                <td>${imDepartment.managerUserId!}</td>
            </tr>
            <tr>
                <td class="alert alert-info" align="center" align="center"></td>
                <td>${imDepartment.enable!}</td>
            </tr>
            <tr>
                <td class="alert alert-info" align="center" align="center"></td>
                <td>${imDepartment.otherManagerUserIds!}</td>
            </tr>
            <tr>
                <td class="alert alert-info" align="center" align="center">租户id</td>
                <td>${imDepartment.tenantCode!}</td>
            </tr>
            <tr>
                <td class="alert alert-info" align="center" align="center">创建时间</td>
                <td>${(imDepartment.createTime?string('yyyy-MM-dd hh:mm:ss'))!} </td>
            </tr>
            <tr>
                <td class="alert alert-info" align="center" align="center">更新时间</td>
                <td>${(imDepartment.updateTime?string('yyyy-MM-dd hh:mm:ss'))!} </td>
            </tr>
            <tr>
                <td class="alert alert-info" align="center" align="center"></td>
                <td>${(imDepartment.clientUpdateTime?string('yyyy-MM-dd hh:mm:ss'))!} </td>
            </tr>
        </tbody>
    </table>
</div>
</@body>

<@footer>

</@footer>